// samsting : this file is auto create.

#include "Drds/2015-04-13/DescribeDrdsInstanceResponse.h"

namespace aliyun { namespace Drds {

DescribeDrdsInstanceResponse::DescribeDrdsInstanceResponse() {
}

const string& DescribeDrdsInstanceResponse::Data::Vip::GetIP(void) const {
  return IP_;
}

const string& DescribeDrdsInstanceResponse::Data::Vip::GetPort(void) const {
  return Port_;
}

const string& DescribeDrdsInstanceResponse::Data::Vip::GetType(void) const {
  return Type_;
}

const std::vector<DescribeDrdsInstanceResponse::Data::Vip>& DescribeDrdsInstanceResponse::Data::GetVips(void) const {
  return Vips_;
}

const string& DescribeDrdsInstanceResponse::Data::GetDrdsInstanceId(void) const {
  return DrdsInstanceId_;
}

const string& DescribeDrdsInstanceResponse::Data::GetType(void) const {
  return Type_;
}

const string& DescribeDrdsInstanceResponse::Data::GetRegionId(void) const {
  return RegionId_;
}

const string& DescribeDrdsInstanceResponse::Data::GetZoneId(void) const {
  return ZoneId_;
}

const string& DescribeDrdsInstanceResponse::Data::GetDescription(void) const {
  return Description_;
}

const string& DescribeDrdsInstanceResponse::Data::GetNetworkType(void) const {
  return NetworkType_;
}

const string& DescribeDrdsInstanceResponse::Data::GetStatus(void) const {
  return Status_;
}

int64 DescribeDrdsInstanceResponse::Data::GetCreateTime(void) const {
  return CreateTime_;
}

int64 DescribeDrdsInstanceResponse::Data::GetVersion(void) const {
  return Version_;
}

const DescribeDrdsInstanceResponse::Data& DescribeDrdsInstanceResponse::GetData(void) const {
  return Data_;
}

bool DescribeDrdsInstanceResponse::GetSuccess(void) const {
  return Success_;
}

const char* DescribeDrdsInstanceResponse::BaseKey(void) {
  return "DescribeDrdsInstanceResponse";
}

void DescribeDrdsInstanceResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  UnmarshallerBool(Success_, response_map, "DescribeDrdsInstanceResponse.Success");
      int Data__Vips__length = 0;
      UnmarshallerInt(Data__Vips__length, response_map, "DescribeDrdsInstanceResponse.Data.Vips.Length");
      if(Data__Vips__length >= 0) {
        Data_.Vips_.resize(Data__Vips__length);
        for(int i2 = 0; i2 < Data__Vips__length; i2++) {
          UnmarshallerString(Data_.Vips_[i2].IP_, response_map, "DescribeDrdsInstanceResponse.Data.Vips["+string_ValueOfInt(i2)+"].IP");
          UnmarshallerString(Data_.Vips_[i2].Port_, response_map, "DescribeDrdsInstanceResponse.Data.Vips["+string_ValueOfInt(i2)+"].Port");
          UnmarshallerString(Data_.Vips_[i2].Type_, response_map, "DescribeDrdsInstanceResponse.Data.Vips["+string_ValueOfInt(i2)+"].Type");
        } // for(int i2 = 0; i2 < Data__Vips__length; i2++) {
      } // if(Data__Vips__length >= 0) {

    UnmarshallerString(Data_.DrdsInstanceId_, response_map, "DescribeDrdsInstanceResponse.Data.DrdsInstanceId");
    UnmarshallerString(Data_.Type_, response_map, "DescribeDrdsInstanceResponse.Data.Type");
    UnmarshallerString(Data_.RegionId_, response_map, "DescribeDrdsInstanceResponse.Data.RegionId");
    UnmarshallerString(Data_.ZoneId_, response_map, "DescribeDrdsInstanceResponse.Data.ZoneId");
    UnmarshallerString(Data_.Description_, response_map, "DescribeDrdsInstanceResponse.Data.Description");
    UnmarshallerString(Data_.NetworkType_, response_map, "DescribeDrdsInstanceResponse.Data.NetworkType");
    UnmarshallerString(Data_.Status_, response_map, "DescribeDrdsInstanceResponse.Data.Status");
    UnmarshallerInt64(Data_.CreateTime_, response_map, "DescribeDrdsInstanceResponse.Data.CreateTime");
    UnmarshallerInt64(Data_.Version_, response_map, "DescribeDrdsInstanceResponse.Data.Version");
}


} } // namespace aliyun { namespace Drds {

// end of file 
